#coding=utf-8

username='aa'
password='123'

for i in range(3):
    u= input("Please input username:")
    p= input("Please input password:")
    if u == username and p == password:
        print(f'userinfo:\n username:{u}\n password:{p}')
        break       
    else:
        print("username or password no right")   

# 做得不错
